﻿@using WebStore.Web.App.Utility.Helpers
@model WebStore.Web.App.Models.Account.LogOnModel
<div id="logon-cart">
    @using (Html.BeginForm("LogOn", "Account", new { ReturnUrl = Request.QueryString["ReturnUrl"] }))
    {
        <table>
            <tr>
                <td>
                    @Html.LabelFor(x => x.Email)
                </td>
                <td>
                    @Html.EditorFor(x => x.Email)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.Password)
                </td>
                <td>
                    @Html.EditorFor(x => x.Password)
                </td>
            </tr>
            <tr>
                <td>
                    <div class="actionButtons">
                        <input type="submit" value="Submit" class="actionButtons" />
                        @Html.ActionLink("Register", "Register", "Account")

                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    @Html.ValidationSummary(true)
                </td>
            </tr>
        </table>
        
    }
</div>
